package com.sen.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sen.entity.DruginfoEntity;
import com.sen.entity.WarehouseEntity;

import java.util.List;
import java.util.Map;

/**
 * 库存信息表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-01-08 17:54:40
 */
public interface WarehouseService extends IService<WarehouseEntity> {

    /**
     * 盘点仓库数量
     * @param count 修改的数量
     * @param lno 修改的订单编号
     */
    void updCount(Integer count, Integer lno);

    IPage<DruginfoEntity> querList(Page<DruginfoEntity> page, Map<String, String> advent);

    List<WarehouseEntity> queryLnoByMid(Integer mid);
}

